package com.financial.business.yspay.service;

import com.financial.business.yspay.domain.FinancialPayYsDO;
import com.financial.business.yspay.utils.apiresult.ApiResult;

import java.util.List;
import java.util.Map;

/**
 * 银盛支付信息表
 *
 * @author WANGNING
 * @email wyn20140226@aliyun.com
 * @date 2019-11-11 09:52:57
 * @des
 */

public interface FinancialPayYsService {

    FinancialPayYsDO get(Integer id);

    List<FinancialPayYsDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(FinancialPayYsDO financialPayYs);

    int update(FinancialPayYsDO financialPayYs);

    /**
     * 银盛微信支付
     *
     * @param requestParam
     * @return
     */
    ApiResult ysWeChatPay(String requestParam);

    /**
     * 银盛支付宝支付
     *
     * @param requestParam
     * @return
     */
    ApiResult ysAliPay(String requestParam);

    /**
     * 通过map查询一条支付记录
     *
     * @param condMap
     * @return
     */
    String query(Map<String, Object> condMap);

}
